package com.liner.homework.third;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("边牧",13,"brown");
        Dog dog2 = new Dog("二哈",12,"white");
        Dog dog3 = new Dog("大黑",11,"black");

        Fish fish1 = new Fish("章鱼", 31, "blue");
        Fish fish2 = new Fish("鲸鱼", 42, "dark blue");

        Chick chick1 = new Chick("小康", 4, "red");
        Chick chick2 = new Chick("小鸡", 6, "pink");
        Chick chick3 = new Chick("小王", 5, "yellow");

        dog1.eat();
        dog2.lookHome();
        dog3.drink();
        dog1.swim();

        fish1.eat();
        fish2.drink();
        fish2.swim();

        chick1.layEggs();
        chick2.drink();
        chick3.eat();

    }
}
